package it.das.task;

import it.das.activity.IActivity;

public class TaskC implements ITask {
	
	private IActivity read;
	private IActivity delete;

	public void setRead(IActivity read) {
		this.read = read;
	}

	public void setDelete(IActivity delete) {
		this.delete = delete;
	}

	@Override
	public Object perform(Object... args) {
		read.execute(args);
		delete.execute(args);
		return null;
	}

}
